﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BoostSite.Demo.Definitions.Base.Controllers;
using BoostSite.Demo.Definitions.Templates;
using BoostSite.Demo.Definitions.Templates.PageTypes.Content;
using BoostSite.Demo.Definitions.Templates.PageTypes.Hubs;
using EPiServer.Framework.DataAnnotations;
using EPiServer.Web.Mvc;

namespace BoostSite.Demo.WebMvc.Controllers.PagePartials
{
	[TemplateDescriptor(AvailableWithoutTag = true, Default = true, Tags = new[]{Tags.StartPage})]
	public class ContentHubPagePartialController : BasePagePartialController<ContentHubPage>
	{
		public ActionResult Index(ContentHubPage currentPage)
		{
			return PartialView(currentPage);
		}
	}
}
